package thomas.javase.java8.entity;

import lombok.Data;

@Data
public class Student extends People {
    private int grade;
    private int studentClass;

    public Student(People people){
        super(people.getName(), people.getAge());
    }
}
